Generic 12x12

Game hierarchy

• Game
    • Generic Chess
        • Generic x12
            • Generic 12x12

Piece Types

Internal NameNameNotationAdded ByNotes
KingKingKGeneric Chess 
PawnPawnPGeneric Chess 

Game Variables

From Game:

Name = string
Invented = string
InventedBy = string
NumberOfSquareColors = integer
FENFormat = string
FENStart = string
Array = string
DeduplicateMoves = boolean
StaticExchangeEvaluation = boolean

From Generic Chess:

StalemateResult = choice of { Draw, Win, Loss }   (default: Draw)
PromotionRule = choice of { None, Standard, Replacement, Custom }   (default: Standard)
PromotionTypes = string
BareKing = boolean   (default: false)
EnPassant = boolean   (default: true)
PromotingType = PieceType   (default: Pawn)
CastlingType = PieceType   (default: King)

From Generic x12:

PawnMultipleMove = choice of:

  • None: Pawns can never move more than a single space
  • @2(2): Pawns can move two spaces when on the second rank
  • @2(2,3): Pawns can move two or three spaces when on the second rank
  • @2(2,3,4): Pawns can move up to four spaces when on the second rank
  • @3(2): Pawns can move two spaces when on the third rank
  • @3(2,3): Pawns can move two or three spaces when on the third rank
  • @4(2): Pawns can move two spaces when on the fourth rank
  • Fast Pawn: Pawns can move two spaces from any location
  • Custom: Indicates a custom rule implemented by derived class

From Generic 12x12:

Castling = choice of:

  • 3-3: King starting on f or g file slides three squares either direction, subject to the usual restrictions, to castle with the piece in the corner
  • 3-4: King starting on f or g file slides three squares when castling short or four when castling long, subject to the usual restrictions, to castle with the piece in the corner
  • 4-4: King starting on f or g file slides four squares either direction, subject to the usual restrictions, to castle with the piece in the corner
  • 4-5: King starting on f or g file slides four squares when castling short or five when castling long, subject to the usual restrictions, to castle with the piece in the corner
  • Close-Rook 2-2: King starting on f or g file slides two squares either direction, subject to the usual restrictions, to castle with the piece on the b or k file
  • Close-Rook 2-3: King starting on f or g file slides two squares when castling short or three when castling long, subject to the usual restrictions, to castle with the piece on the b or k file
  • Close-Rook 3-3: King starting on f or g file slides three squares either direction, subject to the usual restrictions, to castle with the piece on the b or k file
  • Close-Rook 3-4: King starting on f or g file slides three squares when castling short or four when castling long, subject to the usual restrictions, to castle with the piece on the b or k file
  • Flexible: King starting on f or g file slides two or more squares, subject to the usual restrictions, to castle with the piece in the corner
  • Close-Rook Flexible: King starting on f or g file slides two or more squares, subject to the usual restrictions, to castle with the piece on the b or k file
  • 2R 3-3: King starting on f or g file of the second rank slides three squares either direction, subject to the usual restrictions, to castle with the piece on the edge
  • 2R 3-4: King starting on f or g file of the second rank slides three squares when castling short or four when castling long, subject to the usual restrictions, to castle with the piece on the edge
  • 2R 4-4: King starting on f or g file of the second rank slides four squares either direction, subject to the usual restrictions, to castle with the piece on the edge
  • 2R 4-5: King starting on f or g file of the second rank slides four squares when castling short or five when castling long, subject to the usual restrictions, to castle with the piece on the edge
  • 2R Close-Rook 2-2: King starting on f or g file of the second rank slides two squares either direction, subject to the usual restrictions, to castle with the piece on the b or k file
  • 2R Close-Rook 2-3: King starting on f or g file of the second rank slides two squares when castling short or three when castling long, subject to the usual restrictions, to castle with the piece on the b or k file
  • 2R Close-Rook 3-3: King starting on f or g file of the second rank slides three squares either direction, subject to the usual restrictions, to castle with the piece on the b or k file
  • 2R Close-Rook 3-4: King starting on f or g file of the second rank slides three squares when castling short or four when castling long, subject to the usual restrictions, to castle with the piece on the b or k file
  • 2R Flexible: King starting on f or g file of the second rank slides two or more squares, subject to the usual restrictions, to castle with the piece on the edge
  • 2R Close-Rook Flexible: King starting on f or g file of the second rank slides two or more squares, subject to the usual restrictions, to castle with the piece on the b or k file
  • Custom: Indicates a custom rule implemented by a derived class
  • None: No castling

 
 

COPYRIGHT (C) 2021 BY GREG STRONG